Conversation
This extends spotless configuration to also check groovy files. As our groovy files for IT are not in the default groovy packages include is overwritten. The delimiter is overwritten, because the empty package is not supported by spotless, even while it's a valid package. see also: diffplug/spotless#1418 closes apache#284
|
As you can see in the config this is just a draft to check what's possble. So a file must either start with one of those (taking or To automatically adding a licence, I would (re-)create the I tested with some files in the PMD-plugin to ensure the configuration (file recognition, removing semicolons, adding licence) works edit: Hmm the regEx seems to be wrong, all groovy files are effected, even those who have a licences, but maybe that is because the ASF licences not matched the given licence in the config. Have to check. |
|
config/maven-header-plain.txt is taken from https://github.com/apache/maven-shared-resources/tree/master/src/main/resources/config |
Hm it's not applied. It just stays empty when I set this fileset :( |
This extends spotless configuration to also check groovy files. As our groovy files for IT are not in the default groovy packages include is overwritten. The delimiter is overwritten, because the empty package is not supported by spotbugs, even while it's a valid package. see also: diffplug/spotless#1418 closes apache#284
This extends spotless configuration to also check groovy files. As our groovy files for IT are not in the default groovy packages include is overwritten. The delimiter is overwritten, because the empty package is not supported by spotless, even while it's a valid package.
see also: diffplug/spotless#1418
closes #284